package com.jr.service;

import com.jr.entity.User;

/**
 * @Function：面向用户层
 * @Author 梁明哲
 * @Email 424577090@qq.com
 * @Package com.jr.service
 * @Project InvoiceManage
 * @Date 2023-02-20 09:06:06
 */
public interface UserService {
    /**
     * 根据账号名进行登录
     * @param user 用户对象
     * @return 返回user对象
     * @throws Exception
     */
    User login(User user) throws Exception;
}
